TranInActDlg
is the template for the Transfer utility, transfer-in step, which includes the
auto-activation option. It allows the end-user to choose to do the transfer offline
(from a different computer) or online (from the Activation Server). The dialog
shows a Registration ID and requires the entry of License Key from the old site
to complete the transfer (for offline) and also requires the entry of
Activation Key (for online). This template requires the HDLG.INI file that
specifies the URL address of the Activation Web Service.
IDC_REGID, IDC_LICKEY, IDC_ACTKEY
ImportButton
Reads the License
Key from a text file, and then sets it to IDC_LICKEY.
OKButton
Processes
the transfer-in by getting the License Key from IDC_LICKEY, checks and,
if valid, puts it into the Key.
ExportButton
Gets the
Registration ID from IDC_REGID, and then saves it to a text file.
CancelButton
Cancels and closes
the dialog box.
ActivateButton
Processes
the activation by getting the Activation Key from IDC_ACTKEY, and
connects to the Activation Web Service to reactivate the protected application.
Note that the Activation Key must not exceed 355 characters